package com.oracle.lingshangejia.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * @松 on 2019/6/26 11:31
 */
public class ConsultationBean {

    /**
     * code : 0
     * data : [{"hzrq":"2019-06-26 11:19:44","hzys":"","hzysmc":"","hzyx":"","hzyz":"","id":16,"jgmc":"加格达奇医院","jmId":124,"jmName":"刘文松","jzId":36,"status":1,"zrysId":18,"zrysmc":""}]
     * msg : 操作成功
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * hzrq : 2019-06-26 11:19:44
         * hzys :
         * hzysmc :
         * hzyx :
         * hzyz :
         * id : 16
         * jgmc : 加格达奇医院
         * jmId : 124
         * jmName : 刘文松
         * jzId : 36
         * status : 1
         * zrysId : 18
         * zrysmc :
         */
        private String name;

        protected DataBean(Parcel in) {
            name = in.readString();
            hzrq = in.readString();
            hzys = in.readString();
            hzysmc = in.readString();
            hzyx = in.readString();
            hzyz = in.readString();
            id = in.readInt();
            jgmc = in.readString();
            jmId = in.readInt();
            jmName = in.readString();
            jzId = in.readInt();
            status = in.readInt();
            zrysId = in.readInt();
            zrysmc = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        private String hzrq;
        private String hzys;
        private String hzysmc;
        private String hzyx;
        private String hzyz;
        private int id;
        private String jgmc;
        private int jmId;
        private String jmName;
        private int jzId;
        private int status;
        private int zrysId;
        private String zrysmc;

        public String getHzrq() {
            return hzrq;
        }

        public void setHzrq(String hzrq) {
            this.hzrq = hzrq;
        }

        public String getHzys() {
            return hzys;
        }

        public void setHzys(String hzys) {
            this.hzys = hzys;
        }

        public String getHzysmc() {
            return hzysmc;
        }

        public void setHzysmc(String hzysmc) {
            this.hzysmc = hzysmc;
        }

        public String getHzyx() {
            return hzyx;
        }

        public void setHzyx(String hzyx) {
            this.hzyx = hzyx;
        }

        public String getHzyz() {
            return hzyz;
        }

        public void setHzyz(String hzyz) {
            this.hzyz = hzyz;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getJgmc() {
            return jgmc;
        }

        public void setJgmc(String jgmc) {
            this.jgmc = jgmc;
        }

        public int getJmId() {
            return jmId;
        }

        public void setJmId(int jmId) {
            this.jmId = jmId;
        }

        public String getJmName() {
            return jmName;
        }

        public void setJmName(String jmName) {
            this.jmName = jmName;
        }

        public int getJzId() {
            return jzId;
        }

        public void setJzId(int jzId) {
            this.jzId = jzId;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getZrysId() {
            return zrysId;
        }

        public void setZrysId(int zrysId) {
            this.zrysId = zrysId;
        }

        public String getZrysmc() {
            return zrysmc;
        }

        public void setZrysmc(String zrysmc) {
            this.zrysmc = zrysmc;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(name);
            dest.writeString(hzrq);
            dest.writeString(hzys);
            dest.writeString(hzysmc);
            dest.writeString(hzyx);
            dest.writeString(hzyz);
            dest.writeInt(id);
            dest.writeString(jgmc);
            dest.writeInt(jmId);
            dest.writeString(jmName);
            dest.writeInt(jzId);
            dest.writeInt(status);
            dest.writeInt(zrysId);
            dest.writeString(zrysmc);
        }
    }
}
